Your suggested change has been received. Thank you.

close

Suggest A Change

https://thales.na.market.dpondemand.io/docs/dpod/services/kmo….

back

SafeNet Agent for FreeRADIUS

Install SafeNet Agent for FreeRADIUS

search

Install SafeNet Agent for FreeRADIUS

Install SafeNet Agent for FreeRADIUS

Prerequisites

  • Before executing the agent’s deployment script, ensure that Docker is installed. Refer to the https://docs.docker.com/get-docker/ link to install Docker.

  • Optional: PEAP adds a TLS layer on the top of EAP and uses TLS to authenticate the server to the client. Web server certificate is required to use PEAP.

All commands and file names in Linux are case sensitive; therefore the exact case must be entered.

All commands executed on a Linux system require granted permissions to run specific commands.

Setting up FreeRADIUS API for SAS PCE

RADIUS API requests radius client’s data from SAS PCE to dynamically update the clients in FreeRadius database.

In case of a fresh SafeNet server installation with MySQL database, RADIUS API encounters an issue with MySQL database (MySQL EF6 DLL in GAC missing). It is a limitation of MySQL Connector 6.10.7.

Before installation ensure that the following steps are performed:

  1. After installing SafeNet server, install MySQL 6.10.7 Connector.

  2. Configure SafeNet server with MySQL database.

Follow the steps:

For Windows Server 2008 R2 SP1

  1. Copy the following text in a text file and save the file in the .ps1 file format:

    $config_text = @" 
    <?xml version="1.0"?> 
    <configuration>
    <startup useLegacyV2RuntimeActivationPolicy="true"> 
    <supportedRuntime version="v4.0.30319"/> 
    <supportedRuntime version="v2.0.50727"/> 
    </startup> 
    </configuration> 
    "@ 
    $config_text| Out-File $pshome\powershell.exe.config 
    $config_text| Out-File $pshome\powershell_ise.exe.config
    
  2. Save it and rename the file extension to .ps1.

  3. Run as Administrator in the PowerShell.

For Windows Server 2008 R2 SP1, the administrator also needs to follow the steps in the For Windows Server 2012, 2012 R2 and 2016 section.

For Windows Server 2012, 2012 R2 and 2016

  1. Copy the following text in a text file and save the file in the .ps1 file format:

    #Note that you should be running PowerShell as an Administrator
    [System.Reflection.Assembly]::Load("System.EnterpriseServices, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")            
    $publish = New-Object System.EnterpriseServices.Internal.Publish            
    $publish.GacInstall("C:\Program Files (x86)\MySQL\MySQL Connector Net 6.10.7\Assemblies\v4.5.2\MySql.Data.Entity.EF6.dll")
    # If installing into the GAC on a server hosting web applications in IIS, you need to restart IIS for the #applications to pick up the change.
    Iisreset
    
  2. Run the .ps1 file, as an Administrator in the PowerShell.

  3. Reset IIS.

Points to Remember

  • Default location:

    System Directory:\Program Files (x86)\MySQL\MySQL Connector Net 6.9.9\Assemblies\v4.5

  • If someone changes the directory location while installing the MySQL Connector, the above path also needs to be updated in the script.

  • Open the PowerShell script and change the path to where your DLL resides.